<div style="width:500px;">
    <com-slide-verify #slideVerifier1 [initText]="'这是滑块1，拖动到最右边'" [sucessText]="'1验证通过'"></com-slide-verify>
    <com-slide-verify #slideVerifier2 [initText]="'这是滑块2，拖动到最右边'" [sucessText]="'2验证通过'"></com-slide-verify>
</div>
<button (click)="slide1val()">滑块1是否验证</button>&nbsp;&nbsp;
<button (click)="slide1reset()">滑块1重置</button>
<br>
<button (click)="slide2val()">滑块2是否验证</button>&nbsp;&nbsp;
<button (click)="slide1reset()">滑块2重置</button>